package org.whuims.poms.bean;

import java.io.Serializable;

/**
 * 一个向量对象，包含了该向量的维度数、各维度的值
 * @author herochen
 *
 * version 2010-11-12
 */
public class VectorEntity implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 467427645633119514L;

	/** 版本号 */
	public static int version = 2;
	
	/** 向量总维度 */
	private int dimentions = 0;
	
	/** 各维度的值 */
	private float vector[] ;

	public int getDimentions() {
		return dimentions;
	}

	public void setDimentions(int dimentions) {
		this.dimentions = dimentions;
	}

	public float[] getVector() {
		return vector;
	}

	public void setVector(float[] vector) {
		this.vector = vector;
	}
	
	
}
